# FindZLOG 
# ZLOG_FOUND bool 
# ZLOG_LIB -> /usr/local/lib/libzlog.so
# ZLOG_INCLUDE -> /usr/local/include/zlog.h 

find_library(ZLOG_LIB 
        NAME zlog
        PATHS /usr/local/lib
        )
find_path(ZLOG_INCLUDE
        zlog.h
        /usr/local/include
        )

if(ZLOG_LIB AND ZLOG_INCLUDE)
        SET(ZLOG_FOUND TRUE)
        MESSAGE("** ZLOG FOUND AT**")
        MESSAGE("ZLOG_LIB -> ${ZLOG_LIB}")
        MESSAGE("ZLOG_INCLUDE -> ${ZLOG_INCLUDE}")
ELSE(ZLOG_LIB AND ZLOG_INCLUDE)
        MESSAGE(FATAL_ERROR "** OPS! ZLOG NOT FOUND **")
ENDIF(ZLOG_LIB AND ZLOG_INCLUDE)

